package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 来电
 * </p>
 *
 * @author ${author}
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="IncomingCall对象", description="来电")
public class IncomingCall implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "来电")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "网络单位")
    private String networkUnit;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    private Integer tel;

    @ApiModelProperty(value = "初重件")
    private String initialWeight;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "反应日期")
    private Date reactionTime;

    @ApiModelProperty(value = "问题")
    private String problem;

    @ApiModelProperty(value = "内容")
    private String contents;

    @ApiModelProperty(value = "交办意见")
    private String assignedOpinion;

    @ApiModelProperty(value = "承办意见")
    private String undertakeOpinion;

    @ApiModelProperty(value = "承办单位")
    private String undertakeUnit;

    @ApiModelProperty(value = "联系人")
    private String undertakeUser;

    @ApiModelProperty(value = "联系电话")
    private Integer undertakeTel;

    @ApiModelProperty(value = "路由条件")
    private String progress;

    @ApiModelProperty(value = "信访编号")
    private String letterNumber;

    @ApiModelProperty(value = "信访日期")
    private Date letterTime;

    @ApiModelProperty(value = "期限答复")
    private Date termTime;

    @ApiModelProperty(value = "天数")
    private Integer dayNum;

    @ApiModelProperty(value = "信访文件")
    private String letterFile;

    @ApiModelProperty(value = "经办人")
    private String userId;

    @ApiModelProperty(value = "经办人确认")
    private String userRen;

    @ApiModelProperty(value = "分管领导ID")
    private String fenId;

    @ApiModelProperty(value = "分管领导意见")
    private String fenRen;

    @ApiModelProperty(value = "分管领导审批意见")
    private String fenRenTwo;

    @ApiModelProperty(value = "分管科室领导ID")
    private String keId;

    @ApiModelProperty(value = "分管领导科室意见")
    private String keRen;

    @ApiModelProperty(value = "承办人")
    private String chengUser;

    @ApiModelProperty(value = "承办人意见")
    private String chengRen;

    @ApiModelProperty(value = "nodeID")
    private Integer nodeId;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
